#pragma once

#include "../umlmodel_global.h"

#include "Pin.h"

namespace uml {

/// <summary>
/// InputPin
/// An InputPin is a Pin that holds input values to be consumed by an Action.
/// </summary>
class UMLMODEL_EXPORT InputPin : public Pin {

public: // Constructors and destructors
    explicit InputPin(const QString& umlType="uml::InputPin");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
